<page-header model="navModel"></page-header>

<div class="page-container page-body">
  <div class="signup">
    <h3 class="p-b-1"><!--You're almost there.-->您快完成了。</h3>
    <div class="p-b-1">
      <!--We just need a couple of more bits of-->我们只需要更多的<br> <!--information to finish creating your account.-->信息来完成您的帐户创建。
    </div>
    <form name="signUpForm" class="login-form gf-form-group">
      <div class="gf-form" ng-if="verifyEmailEnabled">
        <span class="gf-form-label width-9">
          <!--Email code-->Email 验证码<tip><!--Email verification code (sent to your email)-->Email 验证码（发送到您的邮箱）</tip>
        </span>
        <input type="text" class="gf-form-input max-width-14" ng-model="formModel.code" required></input>
      </div>

      <div class="gf-form" ng-if="!autoAssignOrg">
        <span class="gf-form-label width-9"><!--Org. name-->组织名称</span>
        <input type="text" name="orgName" class="gf-form-input max-width-14" ng-model="formModel.orgName" placeholder="为您的组织命名"><!--Name your organization-->
      </div>

      <div class="gf-form">
        <span class="gf-form-label width-9"><!--Your name-->您的姓名</span>
        <input type="text" name="name" class="gf-form-input max-width-14" ng-model="formModel.name" placeholder="（可选的）"><!--(optional)-->
      </div>
      <div class="gf-form">
        <span class="gf-form-label width-9">Email</span>
        <input type="text" class="gf-form-input max-width-14" required ng-model="formModel.username" placeholder="Email" autocomplete="off">
      </div>
      <div class="gf-form">
        <span class="gf-form-label width-9"><!--Password-->密码</span>
        <input type="password" class="gf-form-input max-width-14" required ng-model="formModel.password" id="inputPassword" placeholder="密码" autocomplete="off"><!--password-->
      </div>

      <div class="signup__password-strength">
        <password-strength password="formModel.password"></password-strength>
      </div>

      <div class="gf-form-button-row p-t-3">
        <button type="submit" class="btn btn-success" ng-click="ctrl.submit();" ng-disabled="!signUpForm.$valid">
          <!--Sign Up-->注册
        </button>
        <a href="login" class="btn btn-inverse">
            <!--Back-->返回
        </a>
      </div>
    </form>
  </div>
</div>
